﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace BBPA.Admin.SYS.ExpressInfo
{
    public partial class List : ListPage
    {
        BLL.ExpressInfo bllList = new BLL.ExpressInfo();
        BLL.ExpressInfo bll = new BLL.ExpressInfo();
        protected void Page_Load(object sender, EventArgs e)
        {
            int ExpressID = DataTypePlus.requestInt(Request.QueryString["ExpressID"]);
            Master.BasicSQL = "ExpressID=" + ExpressID;
            Master.QueryString = "ExpressID=" + ExpressID;
        }
        public override void buildSQL_Page_List_search()
        {
        }
        public override DataSet get_Page_DataSet(string sql_, string orderby_, int pageFrom_, int pageTo_) { return bllList.GetListByPage(sql_, orderby_, pageFrom_, pageTo_); }
        public override void del_Page_List(string inStr_)
        {
            foreach (string id in inStr_.Split(','))
            {
                int thisID = DataTypePlus.requestInt(id);
                bll.Delete(thisID);
                BLL.User_Operate_Log.Add(Security.GetCurrentUserID(), EnumHelper.TableName.ExpressInfo, thisID, EnumHelper.OperateType.Delete, "");
            }
        }
        

    }
}